{%if $isMobile eq true%}
  {%include file="m_top.html" %} 
{%else%}


<div style="position: relative; top: 0px; left: 0px; right: 0px; height: 39px;"></div>
<div id="header" style="width: auto; position: fixed; top: 0px; left: 0px; right: 0px;">
                <div class="wrapper" style="width: 1170px;">
                   
                    <div id="main_menu">
					 
						{%if $g_show.current_user_info.count_follow > 0%}
						<div class="border">
                        </div>
						<a id="nav_bar_home" class="" title="关注" href="/user/my_att.php">
						<span>关注</span>
						</a>
						{%elseif $g_show.current_user_info.count_love>0%}
						<div class="border">
                        </div>
						<a id="nav_bar_home" class="" title="关注" href="/user/my_love.php">
						<span>关注</span>
						</a>
						{%elseif $g_show.current_user_info.count_album>0%}
						<div class="border">
                        </div>
						<a id="nav_bar_home" class="" title="关注" href="/user/my_album.php">
						<span>关注</span>
						</a>
						{%elseif $g_show.current_user_info.count_mblog>0%}
						<div class="border">
                        </div>
						<a id="nav_bar_home" class="" title="关注" href="/user/my_mblog.php">
						<span>关注</span>
						</a>
						{%/if%}
                        <div class="border">
                        </div>
						 <a class="" title="游戏美图" href="http://{%$root_domain%}" id="nav_bar_discover">
                            <span>
                                游戏美图站首
                            </span>
                        </a>
						  <div class="border">
                        </div>

						{%if $config.current_site_id%}
						 <a class="" title="{%$config.current_site_name%}首页" href="/" id="nav_bar_discover">
                            <span>
                                {%$config.current_site_name%}首页
                            </span>
                        </a>
						{%/if%}
						
                        <div class="border">
                        </div>


                       {%if $config.current_site_id%}
                            
							{%if $top_tag_list%}
							<span>
                                 <a title="美图汇" class="" href="/mblog/" id="nav_bar_discover"> <b>美图汇</b>
								    
							 </a> </span>
							 {%/if%}
								  {%section name=count loop=$top_tag_list%}
						 
						   <div class="border">
                        </div>
							<a id="nav_bar_home_small" title="{%$top_tag_list[count].tag_name%}" class="" href="/mblog/index_{%$top_tag_list[count].id%}.html">
							{%$top_tag_list[count].tag_name%}
							</a>
							{%/section%}

                            </span>
                      
						{%/if%}
						<div class="border">
                        </div>
						<a id="nav_bar_discover" class="" title="美女图" href="/meinv/">
						<span>美女图</span>
						</a>
						{%if $config.current_site_id%}
						<div class="border">
                        </div>
						<a id="nav_bar_discover" class="" title="{%$config.current_site_name%}求组队" href="/want/">
						<span>{%$config.current_site_name%}求组队</span>
						</a>
						
						<div class="border">
                        </div>
						<a id="nav_bar_discover" class="" title="{%$config.current_site_name%}攻略" href="/gonglue/">
						<span>{%$config.current_site_name%}攻略</span>
						</a>

						<div class="border">
                        </div>
						<a id="nav_bar_discover" class="" title="{%$config.current_site_name%}视频" href="/video/">
						<span>{%$config.current_site_name%}视频</span>
						</a>
						
						{%else%}

						  {%foreach item=item key=key from=$config.site_name%}
							{%if $key != 0 %}
							<div class="border">
							</div>
							<a id="nav_bar_discover"  title="{%$item%}" href="http://{%$config.domain_url[$key]%}">
							<span> {%$item%}</span>
							</a>
							{%/if%}
							{%/foreach%}
						{%/if%}

					


						<div class="border">
                        </div>
						<a id="nav_bar_discover"  title="收藏本站" href="javascript:void(0);">
							<span>收藏本站</span>
						</a>



                        <div class="border">
                        </div>
						

						




                    </div>
                   


				<div id="menu_bar" class="user_info">
                        <ul class="menu" id="menu">

						{%if $g_show.current_user_info%}
                            <li id="nav_user" class="top_user_icon" >
                               <a class="nav"  href="/user/">
									<img title="{%$g_show.current_user_info.user_nickname%}" src="{%$g_show.current_user_info.head_url%}">
									<em>
									</em>
								</a>
                                <ul>
                                    <li class="about">
                                        <div class="links">
										<!--	<a href="/user/my_mblog.php">
                                                我的分享
                                            </a>
                                            <a href="/user/my_album.php">
                                                我的专辑
                                            </a>
                                            
											 <a href="/user/my_att.php">
                                                我关注的
                                            </a>
											 <a href="/user/my_love.php">
                                                我喜欢的
                                            </a>-->
                                        </div>
                                       
                                    </li>
									 <li class="about">
                                        <div class="links">
											<a href="#" onclick="location.href='/user/login_out.php?url='+location.href">
                                               退出登录
                                            </a>
                                           
                                        </div>
                                       
                                    </li>
                                </ul>
                            </li>
							<!--<li class="add_album_content" id="nav_add"><a class="nav" title="添加" href="javascript:void(0);">分享<span>分享</span></a></li>-->

							<li>
							<div id="over_view_container">
								<div class="message msg_container" style="display:none;">
								<a class="del_message">关闭</a>
								<ul>
								<!--<li><a href="/user/message/">@我的消息(<span class="tucao_at_container">0</span>)</a></li>-->
								<li style="display:none;" ><a href="/user/message/user_message.php">新的私信</a> (<span class="message_count">0</span>)</li>
								</ul>
								
								<div>
							</div>
							</li>
							

						{%else%}

                            <li class="login-btn">
                                <a  href="/user/login.php" title="登录后看美女图有惊喜" >
                                      <img style="margin:0;" src="http://img.t.sinajs.cn/t4/appstyle/open/images/website/loginbtn/loginbtn_03.png">
                                   
									
                                </a>
								
                            </li>
                            
						
						{%/if%}
						
						

						 </ul>
                      
                    </div>





                </div>
                <div id="flying_shadow_nav">
                </div>
            </div>



{%/if%}